package cn.wolfcode.crm.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Getter
@Setter
public class Car {
    private Long id;
    //客户名
    private Client client;

    private String brand;
    //车辆型号
    private String model;
    //车牌号
    private String plateNumber;
    //车辆排气
    private Long fasDisplacement;
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    //购车时间
    private Date purchaseDate;
    //市场估价
    private Double valuation;
    //车辆类型
    private Boolean category;
    //车载大小
    private int size;
    //备注信息
    private String remarks;
}